import intake
import ciofs_hindcast_report as chr
import hvplot.pandas  # noqa
import ocean_model_skill_assessor as omsa
import pandas as pd
import cmocean.cm as cmo

OTF KBNERR: Repeat CTD transect from Anchor Point in Cook Inlet#

  • CTD profiles 2003-2006 - OTF KBNERR

  • ctd_profiles_otf_kbnerr

  • Daily in July, 2003 to 2006

CTD Profiles Across Anchor Point Transect, for GEM Project 030670.

This project used a vessel of opportunity to collect physical oceanographic and fisheries data at six stations along a transect across lower Cook Inlet from Anchor Point (AP) to the Red River delta each day during July. Logistical support for the field sampling was provided in part by the Alaska Department of Fish and Game which has chartered a drift gillnet vessel annually to fish along this transect providing inseason projections of the size of sockeye salmon runs entering Cook Inlet. This project funded collection of physical oceanographic data on board the chartered vessel to help identify intrusions of the Alaska Coastal Current (ACC) into Cook Inlet and test six hypotheses regarding effects of changing oceanographic conditions on migratory behavior and catchability of sockeye salmon entering Cook Inlet. In 2003-2007, a conductivity-temperature-depth profiler was deployed at each station. In 2003-2005, current velocities were estimated along the transect using a towed acoustic Doppler current profiler, and salmon relative abundance and vertical distribution was estimated using towed fisheries acoustic equipment.

Willette, T.M., W.S. Pegau, and R.D. DeCino. 2010. Monitoring dynamics of the Alaska coastal current and development of applications for management of Cook Inlet salmon - a pilot study. Exxon Valdez Oil Spill Gulf Ecosystem Monitoring and Research Project Final Report (GEM Project 030670), Alaska Department of Fish and Game, Commercial Fisheries Division, Soldotna, Alaska.

Report: https://evostc.state.ak.us/media/2176/2004-040670-final.pdf Project description: https://evostc.state.ak.us/restoration-projects/project-search/monitoring-dynamics-of-the-alaska-coastal-current-and-development-of-applications-for-management-of-cook-inlet-salmon-040670/

These data were not included in the NWGOA model/data comparison

Dataset metadata:

Dataset

featuretype

maxLatitude

maxLongitude

maxTime

minLatitude

minLongitude

minTime

0

2003-07-01

trajectoryProfile

59.8733

-152.152

2003-07-01 18:35:00

59.825

-152.438

2003-07-01 12:02:00

1

2003-07-02

trajectoryProfile

59.8733

-152.152

2003-07-02 12:03:00

59.825

-152.438

2003-07-02 06:40:00

2

2003-07-04

trajectoryProfile

59.8733

-152.152

2003-07-04 17:02:00

59.825

-152.438

2003-07-04 12:00:00

3

2003-07-05

trajectoryProfile

59.8733

-152.152

2003-07-05 13:05:00

59.825

-152.438

2003-07-05 07:51:00

4

2003-07-06

trajectoryProfile

59.8733

-152.152

2003-07-06 21:59:00

59.825

-152.438

2003-07-06 16:00:00

5

2003-07-07

trajectoryProfile

59.8733

-152.152

2003-07-07 11:27:00

59.825

-152.438

2003-07-07 06:22:00

6

2003-07-08

trajectoryProfile

59.8733

-152.152

2003-07-08 15:55:00

59.825

-152.438

2003-07-08 10:14:00

7

2003-07-09

trajectoryProfile

59.8733

-152.152

2003-07-09 11:54:00

59.825

-152.438

2003-07-09 05:43:00

8

2003-07-10

trajectoryProfile

59.8733

-152.152

2003-07-10 17:04:00

59.825

-152.438

2003-07-10 10:21:00

9

2003-07-11

trajectoryProfile

59.8733

-152.152

2003-07-11 12:50:00

59.825

-152.438

2003-07-11 06:36:00

10

2003-07-12

trajectoryProfile

59.8733

-152.152

2003-07-12 16:26:00

59.825

-152.438

2003-07-12 10:24:00

11

2003-07-13

trajectoryProfile

59.8733

-152.152

2003-07-13 13:10:00

59.825

-152.438

2003-07-13 06:05:00

12

2003-07-14

trajectoryProfile

59.8733

-152.152

2003-07-14 20:00:00

59.825

-152.438

2003-07-14 12:43:00

13

2003-07-15

trajectoryProfile

59.8733

-152.225

2003-07-15 13:39:00

59.8367

-152.438

2003-07-15 07:03:00

14

2003-07-16

trajectoryProfile

59.8617

-152.152

2003-07-16 17:56:00

59.825

-152.367

2003-07-16 12:24:00

15

2003-07-17

trajectoryProfile

59.8733

-152.152

2003-07-17 13:07:00

59.825

-152.438

2003-07-17 06:54:00

16

2003-07-18

trajectoryProfile

59.8733

-152.152

2003-07-18 19:23:00

59.825

-152.438

2003-07-18 13:05:00

17

2003-07-19

trajectoryProfile

59.8733

-152.438

2003-07-19 05:59:00

59.8733

-152.438

2003-07-19 05:59:00

18

2003-07-21

trajectoryProfile

59.8733

-152.152

2003-07-21 10:34:00

59.825

-152.438

2003-07-21 04:48:00

19

2003-07-22

trajectoryProfile

59.8733

-152.152

2003-07-22 15:54:00

59.825

-152.438

2003-07-22 10:26:00

20

2003-07-23

trajectoryProfile

59.8733

-152.152

2003-07-23 12:57:00

59.825

-152.438

2003-07-23 07:00:00

21

2003-07-24

trajectoryProfile

59.8567

-152.152

2003-07-24 14:00:00

59.825

-152.33

2003-07-24 10:45:00

22

2003-07-25

trajectoryProfile

59.8733

-152.152

2003-07-25 12:17:00

59.825

-152.438

2003-07-25 06:17:00

23

2003-07-26

trajectoryProfile

59.8733

-152.152

2003-07-26 16:19:00

59.825

-152.438

2003-07-26 10:29:00

24

2003-07-28

trajectoryProfile

59.8733

-152.152

2003-07-28 17:06:00

59.825

-152.438

2003-07-28 10:52:00

25

2003-07-29

trajectoryProfile

59.8733

-152.152

2003-07-29 10:15:00

59.825

-152.438

2003-07-29 04:58:00

26

2003-07-30

trajectoryProfile

59.8733

-152.152

2003-07-30 14:11:00

59.825

-152.438

2003-07-30 09:32:00

27

2004-07-01

trajectoryProfile

59.8733

-152.225

2004-07-01 13:26:00

59.8367

-152.438

2004-07-01 08:37:00

28

2004-07-02

trajectoryProfile

59.8733

-152.152

2004-07-02 11:18:00

59.825

-152.438

2004-07-02 04:46:00

29

2004-07-03

trajectoryProfile

59.8733

-152.152

2004-07-03 15:49:00

59.825

-152.438

2004-07-03 10:50:00

30

2004-07-04

trajectoryProfile

59.8733

-152.152

2004-07-04 10:19:00

59.825

-152.438

2004-07-04 05:25:00

31

2004-07-05

trajectoryProfile

59.8733

-152.152

2004-07-05 16:34:00

59.825

-152.438

2004-07-05 10:34:00

32

2004-07-06

trajectoryProfile

59.8733

-152.152

2004-07-06 18:23:00

59.825

-152.438

2004-07-06 13:37:00

33

2004-07-07

trajectoryProfile

59.8733

-152.152

2004-07-07 10:01:00

59.825

-152.438

2004-07-07 04:56:00

34

2004-07-08

trajectoryProfile

59.8733

-152.152

2004-07-08 17:05:00

59.825

-152.438

2004-07-08 10:41:00

35

2004-07-09

trajectoryProfile

59.8733

-152.152

2004-07-09 10:21:00

59.825

-152.438

2004-07-09 04:53:00

36

2004-07-10

trajectoryProfile

59.8733

-152.152

2004-07-10 15:20:00

59.825

-152.438

2004-07-10 09:16:00

37

2004-07-11

trajectoryProfile

59.8733

-152.152

2004-07-11 11:51:00

59.825

-152.438

2004-07-11 05:41:00

38

2004-07-12

trajectoryProfile

59.8733

-152.152

2004-07-12 15:39:00

59.825

-152.438

2004-07-12 10:23:00

39

2004-07-13

trajectoryProfile

59.8733

-152.152

2004-07-13 12:44:00

59.825

-152.438

2004-07-13 05:48:00

40

2004-07-14

trajectoryProfile

59.8617

-152.152

2004-07-14 23:48:00

59.825

-152.367

2004-07-14 11:31:00

41

2004-07-15

trajectoryProfile

59.8733

-152.152

2004-07-15 12:35:00

59.825

-152.438

2004-07-15 00:46:00

42

2004-07-16

trajectoryProfile

59.8733

-152.152

2004-07-16 18:05:00

59.825

-152.438

2004-07-16 10:56:00

43

2004-07-17

trajectoryProfile

59.8733

-152.152

2004-07-17 10:55:00

59.825

-152.438

2004-07-17 05:01:00

44

2004-07-18

trajectoryProfile

59.8733

-152.152

2004-07-18 17:16:00

59.825

-152.438

2004-07-18 10:52:00

45

2004-07-19

trajectoryProfile

59.8733

-152.152

2004-07-19 10:43:00

59.825

-152.438

2004-07-19 05:11:00

46

2004-07-20

trajectoryProfile

59.8617

-152.152

2004-07-20 15:36:00

59.825

-152.367

2004-07-20 11:14:00

47

2004-07-21

trajectoryProfile

59.8733

-152.152

2004-07-21 10:26:00

59.825

-152.438

2004-07-21 05:27:00

48

2004-07-22

trajectoryProfile

59.8733

-152.152

2004-07-22 17:38:00

59.825

-152.438

2004-07-22 11:11:00

49

2004-07-23

trajectoryProfile

59.8733

-152.152

2004-07-23 11:33:00

59.825

-152.438

2004-07-23 06:30:00

50

2004-07-24

trajectoryProfile

59.8733

-152.152

2004-07-24 16:29:00

59.825

-152.438

2004-07-24 10:19:00

51

2004-07-25

trajectoryProfile

59.8733

-152.152

2004-07-25 11:33:00

59.825

-152.438

2004-07-25 06:09:00

52

2004-07-27

trajectoryProfile

59.8733

-152.152

2004-07-27 16:42:00

59.825

-152.438

2004-07-27 10:16:00

53

2004-07-28

trajectoryProfile

59.8733

-152.152

2004-07-28 12:50:00

59.825

-152.438

2004-07-28 07:00:00

54

2004-07-29

trajectoryProfile

59.8733

-152.152

2004-07-29 16:23:00

59.825

-152.438

2004-07-29 10:32:00

55

2004-07-30

trajectoryProfile

59.8733

-152.152

2004-07-30 11:19:00

59.825

-152.438

2004-07-30 04:39:00

56

2005-07-01

trajectoryProfile

59.8733

-152.152

2005-07-01 21:05:00

59.825

-152.438

2005-07-01 14:15:00

57

2005-07-02

trajectoryProfile

59.8733

-152.152

2005-07-02 14:22:00

59.825

-152.438

2005-07-02 06:52:00

58

2005-07-03

trajectoryProfile

59.8733

-152.152

2005-07-03 19:16:00

59.825

-152.438

2005-07-03 12:56:00

59

2005-07-04

trajectoryProfile

59.8733

-152.152

2005-07-04 13:45:00

59.825

-152.438

2005-07-04 05:56:00

60

2005-07-05

trajectoryProfile

59.8733

-152.152

2005-07-05 21:15:00

59.825

-152.438

2005-07-05 12:58:00

61

2005-07-06

trajectoryProfile

59.8733

-152.152

2005-07-06 14:45:00

59.825

-152.438

2005-07-06 06:30:00

62

2005-07-07

trajectoryProfile

59.8733

-152.152

2005-07-07 21:07:00

59.825

-152.438

2005-07-07 12:29:00

63

2005-07-08

trajectoryProfile

59.8733

-152.152

2005-07-08 13:25:00

59.825

-152.438

2005-07-08 05:58:00

64

2005-07-09

trajectoryProfile

59.8733

-152.152

2005-07-09 18:33:00

59.825

-152.438

2005-07-09 11:22:00

65

2005-07-10

trajectoryProfile

59.8733

-152.293

2005-07-10 10:43:00

59.85

-152.438

2005-07-10 06:59:00

66

2005-07-11

trajectoryProfile

59.8733

-152.152

2005-07-11 17:21:00

59.825

-152.438

2005-07-11 10:16:00

67

2005-07-12

trajectoryProfile

59.8733

-152.152

2005-07-12 14:28:00

59.825

-152.438

2005-07-12 07:22:00

68

2005-07-13

trajectoryProfile

59.8733

-152.152

2005-07-13 18:21:00

59.825

-152.438

2005-07-13 12:06:00

69

2005-07-14

trajectoryProfile

59.8733

-152.152

2005-07-14 12:30:00

59.825

-152.438

2005-07-14 06:42:00

70

2005-07-15

trajectoryProfile

59.8733

-152.152

2005-07-15 19:20:00

59.825

-152.438

2005-07-15 12:05:00

71

2005-07-16

trajectoryProfile

59.8733

-152.152

2005-07-16 13:56:00

59.825

-152.438

2005-07-16 07:54:00

72

2005-07-17

trajectoryProfile

59.8733

-152.152

2005-07-17 15:55:00

59.825

-152.438

2005-07-17 10:46:00

73

2005-07-18

trajectoryProfile

59.8733

-152.152

2005-07-18 11:23:00

59.825

-152.438

2005-07-18 05:38:00

74

2005-07-19

trajectoryProfile

59.8733

-152.152

2005-07-19 18:26:00

59.825

-152.438

2005-07-19 12:25:00

75

2005-07-20

trajectoryProfile

59.8733

-152.152

2005-07-20 15:54:00

59.825

-152.438

2005-07-20 07:41:00

76

2005-07-21

trajectoryProfile

59.8733

-152.152

2005-07-21 16:22:00

59.825

-152.438

2005-07-21 09:51:00

77

2005-07-22

trajectoryProfile

59.8733

-152.152

2005-07-22 13:36:00

59.825

-152.438

2005-07-22 05:40:00

78

2005-07-23

trajectoryProfile

59.8733

-152.152

2005-07-23 18:26:00

59.825

-152.438

2005-07-23 11:16:00

79

2005-07-24

trajectoryProfile

59.8733

-152.152

2005-07-24 14:14:00

59.825

-152.438

2005-07-24 06:23:00

80

2005-07-25

trajectoryProfile

59.8733

-152.152

2005-07-25 18:21:00

59.825

-152.438

2005-07-25 11:11:00

81

2005-07-26

trajectoryProfile

59.8733

-152.152

2005-07-26 14:00:00

59.825

-152.438

2005-07-26 06:32:00

82

2005-07-27

trajectoryProfile

59.8733

-152.152

2005-07-27 19:14:00

59.825

-152.438

2005-07-27 13:43:00

83

2005-07-28

trajectoryProfile

59.8733

-152.152

2005-07-28 12:45:00

59.825

-152.438

2005-07-28 06:37:00

84

2005-07-29

trajectoryProfile

59.8733

-152.152

2005-07-29 17:02:00

59.825

-152.438

2005-07-29 10:13:00

85

2005-07-30

trajectoryProfile

59.8733

-152.152

2005-07-30 15:37:00

59.825

-152.438

2005-07-30 06:55:00

86

2006-07-01

trajectoryProfile

59.8733

-152.152

2006-07-01 16:37:00

59.825

-152.438

2006-07-01 11:14:00

87

2006-07-02

trajectoryProfile

59.8733

-152.152

2006-07-02 11:40:00

59.825

-152.438

2006-07-02 06:38:00

88

2006-07-03

trajectoryProfile

59.825

-152.152

2006-07-03 09:29:00

59.825

-152.152

2006-07-03 09:29:00

89

2006-07-04

trajectoryProfile

59.8617

-152.152

2006-07-04 11:52:00

59.825

-152.367

2006-07-04 07:48:00

90

2006-07-05

trajectoryProfile

59.8617

-152.152

2006-07-05 14:21:00

59.825

-152.367

2006-07-05 10:06:00

91

2006-07-06

trajectoryProfile

59.8567

-152.152

2006-07-06 12:11:00

59.825

-152.33

2006-07-06 08:06:00

92

2006-07-07

trajectoryProfile

59.8733

-152.152

2006-07-07 14:15:00

59.825

-152.438

2006-07-07 08:15:00

93

2006-07-09

trajectoryProfile

59.8733

-152.152

2006-07-09 16:09:00

59.825

-152.438

2006-07-09 09:57:00

94

2006-07-10

trajectoryProfile

59.8733

-152.152

2006-07-10 12:29:00

59.825

-152.438

2006-07-10 06:37:00

95

2006-07-11

trajectoryProfile

59.8733

-152.152

2006-07-11 14:20:00

59.825

-152.438

2006-07-11 08:43:00

96

2006-07-12

trajectoryProfile

59.8733

-152.152

2006-07-12 12:17:00

59.825

-152.438

2006-07-12 05:45:00

97

2006-07-13

trajectoryProfile

59.8733

-152.152

2006-07-13 15:48:00

59.825

-152.438

2006-07-13 10:11:00

98

2006-07-15

trajectoryProfile

59.825

-152.152

2006-07-15 09:21:00

59.825

-152.152

2006-07-15 09:21:00

99

2006-07-16

trajectoryProfile

59.8733

-152.152

2006-07-16 16:34:00

59.825

-152.438

2006-07-16 10:40:00

100

2006-07-17

trajectoryProfile

59.8733

-152.152

2006-07-17 13:08:00

59.825

-152.438

2006-07-17 07:27:00

101

2006-07-18

trajectoryProfile

59.8733

-152.152

2006-07-18 13:59:00

59.825

-152.438

2006-07-18 08:14:00

102

2006-07-19

trajectoryProfile

59.8733

-152.367

2006-07-19 08:28:00

59.8617

-152.438

2006-07-19 07:23:00

103

2006-07-21

trajectoryProfile

59.8733

-152.152

2006-07-21 16:14:00

59.825

-152.438

2006-07-21 09:43:00

104

2006-07-23

trajectoryProfile

59.8367

-152.152

2006-07-23 09:59:00

59.825

-152.225

2006-07-23 08:47:00

105

2006-07-25

trajectoryProfile

59.8733

-152.152

2006-07-25 19:30:00

59.825

-152.438

2006-07-25 12:55:00

106

2006-07-26

trajectoryProfile

59.8733

-152.152

2006-07-26 12:10:00

59.825

-152.438

2006-07-26 06:09:00

107

2006-07-27

trajectoryProfile

59.8733

-152.152

2006-07-27 17:29:00

59.825

-152.438

2006-07-27 11:08:00

108

2006-07-28

trajectoryProfile

59.8733

-152.438

2006-07-28 07:24:00

59.8733

-152.438

2006-07-28 07:24:00

cat = intake.open_catalog(chr.CAT_NAME("ctd_profiles_otf_kbnerr"))

Map of CTD Profiles in Consistent Transect#

getattr(chr.src.plot_dataset_on_map, "ctd_profiles_otf_kbnerr")("ctd_profiles_otf_kbnerr")
    
../../../_images/9c8a562e8c311b8ec74f22f3553abe993d3f14c120ea94f851199d7ba0232d64.png

2003#

2003-07-01

cat['2003-07-01'].plot.salt() + cat['2003-07-01'].plot.temp()

2003-07-02

cat['2003-07-02'].plot.salt() + cat['2003-07-02'].plot.temp()

2003-07-04

cat['2003-07-04'].plot.salt() + cat['2003-07-04'].plot.temp()

2003-07-05

cat['2003-07-05'].plot.salt() + cat['2003-07-05'].plot.temp()

2003-07-06

cat['2003-07-06'].plot.salt() + cat['2003-07-06'].plot.temp()

2003-07-07

cat['2003-07-07'].plot.salt() + cat['2003-07-07'].plot.temp()

2003-07-08

cat['2003-07-08'].plot.salt() + cat['2003-07-08'].plot.temp()

2003-07-09

cat['2003-07-09'].plot.salt() + cat['2003-07-09'].plot.temp()

2003-07-10

cat['2003-07-10'].plot.salt() + cat['2003-07-10'].plot.temp()

2003-07-11

cat['2003-07-11'].plot.salt() + cat['2003-07-11'].plot.temp()

2003-07-12

cat['2003-07-12'].plot.salt() + cat['2003-07-12'].plot.temp()

2003-07-13

cat['2003-07-13'].plot.salt() + cat['2003-07-13'].plot.temp()

2003-07-14

cat['2003-07-14'].plot.salt() + cat['2003-07-14'].plot.temp()

2003-07-15

cat['2003-07-15'].plot.salt() + cat['2003-07-15'].plot.temp()

2003-07-16

cat['2003-07-16'].plot.salt() + cat['2003-07-16'].plot.temp()

2003-07-17

cat['2003-07-17'].plot.salt() + cat['2003-07-17'].plot.temp()

2003-07-18

cat['2003-07-18'].plot.salt() + cat['2003-07-18'].plot.temp()

2003-07-19

cat['2003-07-19'].plot.salt() + cat['2003-07-19'].plot.temp()

2003-07-21

cat['2003-07-21'].plot.salt() + cat['2003-07-21'].plot.temp()

2003-07-22

cat['2003-07-22'].plot.salt() + cat['2003-07-22'].plot.temp()

2003-07-23

cat['2003-07-23'].plot.salt() + cat['2003-07-23'].plot.temp()

2003-07-24

cat['2003-07-24'].plot.salt() + cat['2003-07-24'].plot.temp()

2003-07-25

cat['2003-07-25'].plot.salt() + cat['2003-07-25'].plot.temp()

2003-07-26

cat['2003-07-26'].plot.salt() + cat['2003-07-26'].plot.temp()

2003-07-28

cat['2003-07-28'].plot.salt() + cat['2003-07-28'].plot.temp()

2003-07-29

cat['2003-07-29'].plot.salt() + cat['2003-07-29'].plot.temp()

2003-07-30

cat['2003-07-30'].plot.salt() + cat['2003-07-30'].plot.temp()

2004#

2004-07-01

cat['2004-07-01'].plot.salt() + cat['2004-07-01'].plot.temp()

2004-07-02

cat['2004-07-02'].plot.salt() + cat['2004-07-02'].plot.temp()

2004-07-03

cat['2004-07-03'].plot.salt() + cat['2004-07-03'].plot.temp()

2004-07-04

cat['2004-07-04'].plot.salt() + cat['2004-07-04'].plot.temp()

2004-07-05

cat['2004-07-05'].plot.salt() + cat['2004-07-05'].plot.temp()

2004-07-06

cat['2004-07-06'].plot.salt() + cat['2004-07-06'].plot.temp()

2004-07-07

cat['2004-07-07'].plot.salt() + cat['2004-07-07'].plot.temp()

2004-07-08

cat['2004-07-08'].plot.salt() + cat['2004-07-08'].plot.temp()

2004-07-09

cat['2004-07-09'].plot.salt() + cat['2004-07-09'].plot.temp()

2004-07-10

cat['2004-07-10'].plot.salt() + cat['2004-07-10'].plot.temp()

2004-07-11

cat['2004-07-11'].plot.salt() + cat['2004-07-11'].plot.temp()

2004-07-12

cat['2004-07-12'].plot.salt() + cat['2004-07-12'].plot.temp()

2004-07-13

cat['2004-07-13'].plot.salt() + cat['2004-07-13'].plot.temp()

2004-07-14

cat['2004-07-14'].plot.salt() + cat['2004-07-14'].plot.temp()

2004-07-15

cat['2004-07-15'].plot.salt() + cat['2004-07-15'].plot.temp()

2004-07-16

cat['2004-07-16'].plot.salt() + cat['2004-07-16'].plot.temp()

2004-07-17

cat['2004-07-17'].plot.salt() + cat['2004-07-17'].plot.temp()

2004-07-18

cat['2004-07-18'].plot.salt() + cat['2004-07-18'].plot.temp()

2004-07-19

cat['2004-07-19'].plot.salt() + cat['2004-07-19'].plot.temp()

2004-07-20

cat['2004-07-20'].plot.salt() + cat['2004-07-20'].plot.temp()

2004-07-21

cat['2004-07-21'].plot.salt() + cat['2004-07-21'].plot.temp()

2004-07-22

cat['2004-07-22'].plot.salt() + cat['2004-07-22'].plot.temp()

2004-07-23

cat['2004-07-23'].plot.salt() + cat['2004-07-23'].plot.temp()

2004-07-24

cat['2004-07-24'].plot.salt() + cat['2004-07-24'].plot.temp()

2004-07-25

cat['2004-07-25'].plot.salt() + cat['2004-07-25'].plot.temp()

2004-07-27

cat['2004-07-27'].plot.salt() + cat['2004-07-27'].plot.temp()

2004-07-28

cat['2004-07-28'].plot.salt() + cat['2004-07-28'].plot.temp()

2004-07-29

cat['2004-07-29'].plot.salt() + cat['2004-07-29'].plot.temp()

2004-07-30

cat['2004-07-30'].plot.salt() + cat['2004-07-30'].plot.temp()

2005#

2005-07-01

cat['2005-07-01'].plot.salt() + cat['2005-07-01'].plot.temp()

2005-07-02

cat['2005-07-02'].plot.salt() + cat['2005-07-02'].plot.temp()

2005-07-03

cat['2005-07-03'].plot.salt() + cat['2005-07-03'].plot.temp()

2005-07-04

cat['2005-07-04'].plot.salt() + cat['2005-07-04'].plot.temp()

2005-07-05

cat['2005-07-05'].plot.salt() + cat['2005-07-05'].plot.temp()

2005-07-06

cat['2005-07-06'].plot.salt() + cat['2005-07-06'].plot.temp()

2005-07-07

cat['2005-07-07'].plot.salt() + cat['2005-07-07'].plot.temp()

2005-07-08

cat['2005-07-08'].plot.salt() + cat['2005-07-08'].plot.temp()

2005-07-09

cat['2005-07-09'].plot.salt() + cat['2005-07-09'].plot.temp()

2005-07-10

cat['2005-07-10'].plot.salt() + cat['2005-07-10'].plot.temp()

2005-07-11

cat['2005-07-11'].plot.salt() + cat['2005-07-11'].plot.temp()

2005-07-12

cat['2005-07-12'].plot.salt() + cat['2005-07-12'].plot.temp()

2005-07-13

cat['2005-07-13'].plot.salt() + cat['2005-07-13'].plot.temp()

2005-07-14

cat['2005-07-14'].plot.salt() + cat['2005-07-14'].plot.temp()

2005-07-15

cat['2005-07-15'].plot.salt() + cat['2005-07-15'].plot.temp()

2005-07-16

cat['2005-07-16'].plot.salt() + cat['2005-07-16'].plot.temp()
---------------------------------------------------------------------------
TimeoutError                              Traceback (most recent call last)
File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/fsspec/asyn.py:55, in _runner(event, coro, result, timeout)
     54 try:
---> 55     result[0] = await coro
     56 except Exception as ex:

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/fsspec/implementations/http.py:669, in HTTPFile.async_fetch_range(self, start, end)
    667 if response_is_range:
    668     # partial content, as expected
--> 669     out = await r.read()
    670 elif start > 0:

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/aiohttp/client_reqrep.py:1037, in ClientResponse.read(self)
   1036 try:
-> 1037     self._body = await self.content.read()
   1038     for trace in self._traces:

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/aiohttp/streams.py:375, in StreamReader.read(self, n)
    374 while True:
--> 375     block = await self.readany()
    376     if not block:

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/aiohttp/streams.py:397, in StreamReader.readany(self)
    396 while not self._buffer and not self._eof:
--> 397     await self._wait("readany")
    399 return self._read_nowait(-1)

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/aiohttp/streams.py:303, in StreamReader._wait(self, func_name)
    302 if self._timer:
--> 303     with self._timer:
    304         await waiter

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/aiohttp/helpers.py:721, in TimerContext.__exit__(self, exc_type, exc_val, exc_tb)
    720 if exc_type is asyncio.CancelledError and self._cancelled:
--> 721     raise asyncio.TimeoutError from None
    722 return None

TimeoutError: 

The above exception was the direct cause of the following exception:

FSTimeoutError                            Traceback (most recent call last)
File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/dask/backends.py:133, in CreationDispatch.register_inplace.<locals>.decorator.<locals>.wrapper(*args, **kwargs)
    132 try:
--> 133     return func(*args, **kwargs)
    134 except Exception as e:

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/dask/dataframe/io/csv.py:755, in make_reader.<locals>.read(urlpath, blocksize, lineterminator, compression, sample, sample_rows, enforce, assume_missing, storage_options, include_path_column, **kwargs)
    742 def read(
    743     urlpath,
    744     blocksize="default",
   (...)
    753     **kwargs,
    754 ):
--> 755     return read_pandas(
    756         reader,
    757         urlpath,
    758         blocksize=blocksize,
    759         lineterminator=lineterminator,
    760         compression=compression,
    761         sample=sample,
    762         sample_rows=sample_rows,
    763         enforce=enforce,
    764         assume_missing=assume_missing,
    765         storage_options=storage_options,
    766         include_path_column=include_path_column,
    767         **kwargs,
    768     )

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/dask/dataframe/io/csv.py:559, in read_pandas(reader, urlpath, blocksize, lineterminator, compression, sample, sample_rows, enforce, assume_missing, storage_options, include_path_column, **kwargs)
    558 b_lineterminator = lineterminator.encode()
--> 559 b_out = read_bytes(
    560     urlpath,
    561     delimiter=b_lineterminator,
    562     blocksize=blocksize,
    563     sample=sample,
    564     compression=compression,
    565     include_path=include_path_column,
    566     **(storage_options or {}),
    567 )
    569 if include_path_column:

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/dask/bytes/core.py:171, in read_bytes(urlpath, delimiter, not_zero, blocksize, sample, compression, include_path, **kwargs)
    170 else:
--> 171     sample_buff = f.read(sample)
    172     while True:

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/fsspec/implementations/http.py:600, in HTTPFile.read(self, length)
    599     length = min(self.size - self.loc, length)
--> 600 return super().read(length)

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/fsspec/spec.py:1700, in AbstractBufferedFile.read(self, length)
   1699     return b""
-> 1700 out = self.cache._fetch(self.loc, self.loc + length)
   1701 self.loc += len(out)

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/fsspec/caching.py:380, in BytesCache._fetch(self, start, end)
    376 if (self.start is None or start < self.start) and (
    377     self.end is None or end > self.end
    378 ):
    379     # First read, or extending both before and after
--> 380     self.cache = self.fetcher(start, bend)
    381     self.start = start

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/fsspec/asyn.py:115, in sync_wrapper.<locals>.wrapper(*args, **kwargs)
    114 self = obj or args[0]
--> 115 return sync(self.loop, func, *args, **kwargs)

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/fsspec/asyn.py:98, in sync(loop, func, timeout, *args, **kwargs)
     96 if isinstance(return_result, asyncio.TimeoutError):
     97     # suppress asyncio.TimeoutError, raise FSTimeoutError
---> 98     raise FSTimeoutError from return_result
     99 elif isinstance(return_result, BaseException):

FSTimeoutError: 

The above exception was the direct cause of the following exception:

FSTimeoutError                            Traceback (most recent call last)
Cell In[75], line 1
----> 1 cat['2005-07-16'].plot.salt() + cat['2005-07-16'].plot.temp()

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/hvplot/plotting/core.py:92, in hvPlotBase.__call__(self, x, y, kind, **kwds)
     89         plot = self._get_converter(x, y, kind, **kwds)(kind, x, y)
     90         return pn.panel(plot, **panel_dict)
---> 92 return self._get_converter(x, y, kind, **kwds)(kind, x, y)

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/hvplot/plotting/core.py:99, in hvPlotBase._get_converter(self, x, y, kind, **kwds)
     97 y = y or params.pop("y", None)
     98 kind = kind or params.pop("kind", None)
---> 99 return HoloViewsConverter(self._data, x, y, kind=kind, **params)

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/hvplot/converter.py:389, in HoloViewsConverter.__init__(self, data, x, y, kind, by, use_index, group_label, value_label, backlog, persist, use_dask, crs, fields, groupby, dynamic, grid, legend, rot, title, xlim, ylim, clim, symmetric, logx, logy, loglog, hover, subplots, label, invert, stacked, colorbar, datashade, rasterize, row, col, debug, framewise, aggregator, projection, global_extent, geo, precompute, flip_xaxis, flip_yaxis, dynspread, hover_cols, x_sampling, y_sampling, project, tools, attr_labels, coastline, tiles, sort_date, check_symmetric_max, transforms, stream, cnorm, features, rescale_discrete_levels, **kwds)
    387 self.value_label = value_label
    388 self.label = label
--> 389 self._process_data(
    390     kind, data, x, y, by, groupby, row, col, use_dask,
    391     persist, backlog, label, group_label, value_label,
    392     hover_cols, attr_labels, transforms, stream, kwds
    393 )
    395 self.dynamic = dynamic
    396 self.geo = any([geo, crs, global_extent, projection, project, coastline, features])

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/hvplot/converter.py:673, in HoloViewsConverter._process_data(self, kind, data, x, y, by, groupby, row, col, use_dask, persist, backlog, label, group_label, value_label, hover_cols, attr_labels, transforms, stream, kwds)
    671     data = data.to_frame()
    672 if is_intake(data):
--> 673     data = process_intake(data, use_dask or persist)
    674 # Pandas interface in HoloViews doesn't accept non-string columns.
    675 # The converter stores a reference to the source data to
    676 # update the `_dataset` property (of the hv object its __call__ method
    677 # returns) with a hv Dataset created from the source data, which
    678 # is done for optimizating some operations in HoloViews.
    679 data = _convert_col_names_to_str(data)

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/hvplot/util.py:361, in process_intake(data, use_dask)
    359     data = data.to_dask()
    360 else:
--> 361     data = data.read()
    362 return data

File ~/projects/ciofs-hindcast-report/ciofs_hindcast_report/src/process.py:47, in DataFrameTransform.read(self)
     45 def read(self):
     46     # return self.read()
---> 47     return self.to_dask()

File ~/projects/ciofs-hindcast-report/ciofs_hindcast_report/src/process.py:33, in DataFrameTransform.to_dask(self)
     31 if self._df is None:
     32     self._pick()
---> 33     self._df = self._transform(self._source.to_dask().compute(),
     34                                **self._params["transform_kwargs"])
     35 return self._df

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/intake/source/csv.py:122, in CSVSource.to_dask(self)
    121 def to_dask(self):
--> 122     self._get_schema()
    123     return self._dataframe

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/intake/source/csv.py:107, in CSVSource._get_schema(self)
    104 urlpath = self._get_cache(self._urlpath)[0]
    106 if self._dataframe is None:
--> 107     self._open_dataset(urlpath)
    109 dtypes = self._dataframe._meta.dtypes.to_dict()
    110 dtypes = {n: str(t) for (n, t) in dtypes.items()}

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/intake/source/csv.py:89, in CSVSource._open_dataset(self, urlpath)
     86 import dask.dataframe
     88 if self.pattern is None:
---> 89     self._dataframe = dask.dataframe.read_csv(urlpath, storage_options=self._storage_options, **self._csv_kwargs)
     90     return
     92 drop_path_column = "include_path_column" not in self._csv_kwargs

File ~/miniconda3/envs/ciofs/lib/python3.10/site-packages/dask/backends.py:135, in CreationDispatch.register_inplace.<locals>.decorator.<locals>.wrapper(*args, **kwargs)
    133     return func(*args, **kwargs)
    134 except Exception as e:
--> 135     raise type(e)(
    136         f"An error occurred while calling the {funcname(func)} "
    137         f"method registered to the {self.backend} backend.\n"
    138         f"Original Message: {e}"
    139     ) from e

FSTimeoutError: An error occurred while calling the read_csv method registered to the pandas backend.
Original Message: 

2005-07-17

cat['2005-07-17'].plot.salt() + cat['2005-07-17'].plot.temp()

2005-07-18

cat['2005-07-18'].plot.salt() + cat['2005-07-18'].plot.temp()

2005-07-19

cat['2005-07-19'].plot.salt() + cat['2005-07-19'].plot.temp()

2005-07-20

cat['2005-07-20'].plot.salt() + cat['2005-07-20'].plot.temp()

2005-07-21

cat['2005-07-21'].plot.salt() + cat['2005-07-21'].plot.temp()

2005-07-22

cat['2005-07-22'].plot.salt() + cat['2005-07-22'].plot.temp()

2005-07-23

cat['2005-07-23'].plot.salt() + cat['2005-07-23'].plot.temp()

2005-07-24

cat['2005-07-24'].plot.salt() + cat['2005-07-24'].plot.temp()

2005-07-25

cat['2005-07-25'].plot.salt() + cat['2005-07-25'].plot.temp()

2005-07-26

cat['2005-07-26'].plot.salt() + cat['2005-07-26'].plot.temp()

2005-07-27

cat['2005-07-27'].plot.salt() + cat['2005-07-27'].plot.temp()

2005-07-28

cat['2005-07-28'].plot.salt() + cat['2005-07-28'].plot.temp()

2005-07-29

cat['2005-07-29'].plot.salt() + cat['2005-07-29'].plot.temp()

2005-07-30

cat['2005-07-30'].plot.salt() + cat['2005-07-30'].plot.temp()

2006#

2006-07-01

cat['2006-07-01'].plot.salt() + cat['2006-07-01'].plot.temp()

2006-07-02

cat['2006-07-02'].plot.salt() + cat['2006-07-02'].plot.temp()

2006-07-03

cat['2006-07-03'].plot.salt() + cat['2006-07-03'].plot.temp()

2006-07-04

cat['2006-07-04'].plot.salt() + cat['2006-07-04'].plot.temp()

2006-07-05

cat['2006-07-05'].plot.salt() + cat['2006-07-05'].plot.temp()

2006-07-06

cat['2006-07-06'].plot.salt() + cat['2006-07-06'].plot.temp()

2006-07-07

cat['2006-07-07'].plot.salt() + cat['2006-07-07'].plot.temp()

2006-07-09

cat['2006-07-09'].plot.salt() + cat['2006-07-09'].plot.temp()

2006-07-10

cat['2006-07-10'].plot.salt() + cat['2006-07-10'].plot.temp()

2006-07-11

cat['2006-07-11'].plot.salt() + cat['2006-07-11'].plot.temp()

2006-07-12

cat['2006-07-12'].plot.salt() + cat['2006-07-12'].plot.temp()

2006-07-13

cat['2006-07-13'].plot.salt() + cat['2006-07-13'].plot.temp()

2006-07-15

cat['2006-07-15'].plot.salt() + cat['2006-07-15'].plot.temp()

2006-07-16

cat['2006-07-16'].plot.salt() + cat['2006-07-16'].plot.temp()

2006-07-17

cat['2006-07-17'].plot.salt() + cat['2006-07-17'].plot.temp()

2006-07-18

cat['2006-07-18'].plot.salt() + cat['2006-07-18'].plot.temp()

2006-07-19

cat['2006-07-19'].plot.salt() + cat['2006-07-19'].plot.temp()

2006-07-21

cat['2006-07-21'].plot.salt() + cat['2006-07-21'].plot.temp()

2006-07-23

cat['2006-07-23'].plot.salt() + cat['2006-07-23'].plot.temp()

2006-07-25

cat['2006-07-25'].plot.salt() + cat['2006-07-25'].plot.temp()

2006-07-26

cat['2006-07-26'].plot.salt() + cat['2006-07-26'].plot.temp()

2006-07-27

cat['2006-07-27'].plot.salt() + cat['2006-07-27'].plot.temp()

2006-07-28

cat['2006-07-28'].plot.salt() + cat['2006-07-28'].plot.temp()